﻿@{
    //方案
    int page = ViewBag.PageIndex;
    string kw = ViewBag.Keyowrd;
    string md = ViewBag.Operation;
}
@model  Project
<div class="content-box">
    <div class="content-box-header">
        <h3 style="cursor: s-resize;">股票方案管理</h3>
        <ul class="content-box-tabs">
            <li><a href="@Url.DomainRouteUrl(AreasConfig.Admin, new { action = "Index", controller = "Project" })" id="List">列表</a></li>
            <li><a href="javascript:;" class="default-tab current">表单</a></li>
        </ul>
        <div class="clear"></div>
    </div>
    <div class="content-box-content">
        <div class="tab-content" id="tab2">
            <form action="@Url.DomainRouteUrl(AreasConfig.Admin, new { action = "Edit", controller = "Project", md = md, page = page, kw = kw })" method="post" mark="StockForm">
                <fieldset>
                    <p>
                        <label>投资本金：</label>
                        @Html.TextEdit("Principal", Model.Principal.ToString(), "", new { Class = "text-input" }, new { req = 1, money = 1 }, new { label = "投资本金", helper = "请输入投资本金" })
                    </p>
                    <p>
                        <label>配资金额</label>
                        @Html.TextEdit("MatchEndowment", Model.MatchEndowment.ToString(), "", new { Class = "text-input" }, new { req = 1, money = 1 }, new { label = "配资金额", helper = "请输入配资金额" })
                    </p>
                    <p>
                        <label>总操盘资金</label>
                        @Html.Label("showTotalTrade",Model.TotalTrade.ToString())
                        @Html.Hidden("TotalTrade", Model.TotalTrade.ToString())
                    </p>
                    <p>
                        <label>亏损警告线</label>
                        @Html.TextEdit("LossWarLine", Model.LossWarLine.ToString(), "", new { Class = "text-input" }, new { req = 1, money = 1 }, new { label = "亏损警告线", helper = "请输入亏损警告线" })
                    </p>

                    <p>
                        <label>亏损平仓线</label>                        @Html.TextEdit("LossOpenLine", Model.LossOpenLine.ToString(), "", new { Class = "text-input" }, new { req = 1, money = 1 }, new { label = "亏损平仓线", helper = "请输入亏损平仓线" })
                    </p>

                    <p>
                        <label>资金使用期限</label>                        @Html.TextEdit("FundTime", Model.FundTime.ToString(), "", new { Class = "text-input" }, new { req = 1, money = 1 }, new { label = "资金使用期限", helper = "请输入资金使用期限" }) &nbsp;（天）
                    </p>

                    <p>
                        <label>配资借款月利率</label>                        @Html.TextEdit("LoanMoon", Model.LoanMoon.ToString(), "", new { Class = "text-input" }, new { req = 1, money = 1 }, new { label = "配资借款月利率", helper = "请输入配资借款月利率" })
                    </p>

                    <p>
                        <label>开始交易时间</label>
                        @Html.TextEdit("StartTime", Model.StartTime.ToString(), "", new { Class = "text-input" }, new { }, new { label = "开始交易时间", helper = "请输入开始交易时间" })
                    </p>
                    <p>
                        @Html.Hidden("ProjectId", Model.ProjectId)
                        <a tag="button" class="button" type="submit">提交</a>
                    </p>
                </fieldset>
                <div class="clear"></div>
            </form>
        </div>
    </div>
</div>